<template>
  <div class="setup">
    <div class="header">
        <top-header :isLeft="true" title="设置"></top-header>
    </div>
    <div class="content">
      <div class="banben">
        <img src="../assets/imgs/dailyfresh.jpeg" alt="">
        <p>版本号：v9.9.30.1</p>
      </div>
      <div class="test">
        <div class="account">
          <span class="safe">账户与安全</span>
          <span class="right1">></span>
        </div>
        <a-divider />
      </div>
      <div class="Fontsz">
          <span class="font">字体设置</span>
          <span class="right2">></span>
        </div>
        <a-divider />
      <div class="pingfen">
          <span class="Wp">欢迎评分</span>
          <span class="right3">></span>
        </div>
        <a-divider />
      </div> 
      <div>
      <a-button type="primary" block @click="dLogin">
     退出登录
    </a-button> 
    </div>  
  </div>
</template>

<script>
import TopHeader from "../components/TopHeader.vue";
export default {
components: { TopHeader },
methods: {
  dLogin(){
    this.$router.push('Login');
  }
},
}

</script>
<style lang="scss" scoped>
.ant-btn-block {
  width: 95%;
  background-color: #FF6347;
  border-color: #FF6347;
  border-radius: 5px;
  margin-left: 10px;
}
.banben{
  margin-top: 30px;
  text-align: center;
}
img{
  height: 60px;
  width: 60px;
  margin: 0 auto;
}
.account{
  height: 20px;
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}
.Fontsz{
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}
.pingfen{
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}
.safe{
  padding-left: 10px;
}
.font{
  padding-left: 10px;
}
.Wp{
  padding-left: 10px;
}
.right1{
  padding-right: 10px;
}
.right2{
  padding-right: 10px;
}
.right3{
  padding-right: 10px;
}
</style>